﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="GenerateSimple" Bound="false" xmlns="http://schemas.microsoft.com/pag/gax-core">
  <xi:include href="..\Types\TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  <Caption>Generate simple file with no user input</Caption>
  <Arguments>
    <Argument Name="SelectedItems" Type="System.Collections.ArrayList">
      <ValueProvider Type="DefaultValueProvider"
                     QualifiedTypeName="System.Collections.ArrayList"/>
    </Argument>
    <Argument Name="CurrentProject" Type="EnvDTE.Project, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <ValueProvider Type="Microsoft.Practices.RecipeFramework.Library.ValueProviders.FirstSelectedProject, Microsoft.Practices.RecipeFramework.Library" />
    </Argument>
    <Argument Name="TemplateConfiguration" Type="Sixeyed.CodeGeneration.Generation.TemplateConfiguration, Sixeyed.CodeGeneration">
      <ValueProvider Type="TemplateConfigurationValueProvider"
                     TemplatePath="x:\y\z\simple.cs.tt"
                     FileName="SimpleFile"
                     FileExtension="cs">        
      </ValueProvider>
    </Argument>    
  </Arguments>
  <Actions>
    <Action Type="Sixeyed.Guidance.CodeGeneration.Actions.AddGeneratedItems, Sixeyed.Guidance.CodeGeneration"
        Name="AddGeneratedItems">
      <Input Name="TemplateConfiguration" RecipeArgument="TemplateConfiguration" />
      <Input Name="MetadataItems" RecipeArgument="SelectedItems"/>
      <Input Name="Project" RecipeArgument="CurrentProject" />
    </Action>
  </Actions>
</Recipe>